.class public Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;
.super Lcom/teewoo/app/bus/inface/BaseActivity;
.source "MyStationCollectionActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$MySimpleAdapter;
    }
.end annotation


# instance fields
.field private adapter:Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$MySimpleAdapter;

.field private addImageView:Landroid/widget/ImageView;

.field private addView:Landroid/view/View;

.field private clearImageView:Landroid/widget/ImageView;

.field private clearView:Landroid/view/View;

.field private hasMore:Z

.field private maxResult:I

.field private moreImageView:Landroid/widget/ImageView;

.field private moreView:Landroid/view/View;

.field private proBar:Landroid/widget/ProgressBar;

.field progressDlg:Landroid/app/ProgressDialog;

.field private refreshImageView:Landroid/widget/ImageView;

.field private refreshView:Landroid/view/View;

.field private staCollectListView:Landroid/widget/ListView;

.field private staList:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/teewoo/app/bus/model/collection/StationCollection;",
            ">;"
        }
    .end annotation
.end field

.field private startResult:I

.field private stationCollectionManager:Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 34
    invoke-direct {p0}, Lcom/teewoo/app/bus/inface/BaseActivity;-><init>()V

    .line 40
    const/4 v0, 0x0

    iput v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->startResult:I

    .line 41
    const/16 v0, 0xa

    iput v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->maxResult:I

    .line 55
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->hasMore:Z

    .line 34
    return-void
.end method

.method static synthetic access$0(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Ljava/util/List;
    .locals 1
    .parameter

    .prologue
    .line 37
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staList:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$1(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)[I
    .locals 1
    .parameter

    .prologue
    .line 34
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->item_background:[I

    return-object v0
.end method

.method static synthetic access$10(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 40
    iput p1, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->startResult:I

    return-void
.end method

.method static synthetic access$11(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 41
    iput p1, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->maxResult:I

    return-void
.end method

.method static synthetic access$12(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)I
    .locals 1
    .parameter

    .prologue
    .line 40
    iget v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->startResult:I

    return v0
.end method

.method static synthetic access$13(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)I
    .locals 1
    .parameter

    .prologue
    .line 41
    iget v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->maxResult:I

    return v0
.end method

.method static synthetic access$14(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;Ljava/util/List;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 37
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staList:Ljava/util/List;

    return-void
.end method

.method static synthetic access$15(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 55
    iput-boolean p1, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->hasMore:Z

    return-void
.end method

.method static synthetic access$16(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Z
    .locals 1
    .parameter

    .prologue
    .line 55
    iget-boolean v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->hasMore:Z

    return v0
.end method

.method static synthetic access$17(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/widget/ProgressBar;
    .locals 1
    .parameter

    .prologue
    .line 42
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->proBar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$18(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$MySimpleAdapter;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 35
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->adapter:Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$MySimpleAdapter;

    return-void
.end method

.method static synthetic access$19(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/widget/ListView;
    .locals 1
    .parameter

    .prologue
    .line 36
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staCollectListView:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$2(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;
    .locals 1
    .parameter

    .prologue
    .line 38
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->stationCollectionManager:Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;

    return-object v0
.end method

.method static synthetic access$3(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$MySimpleAdapter;
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->adapter:Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$MySimpleAdapter;

    return-object v0
.end method

.method static synthetic access$4(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 245
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->getLocalData()V

    return-void
.end method

.method static synthetic access$5(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 50
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->addImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$6(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 51
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->refreshImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$7(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 52
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->clearImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 53
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->moreImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$9(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)Landroid/content/Context;
    .locals 1
    .parameter

    .prologue
    .line 34
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method private getLocalData()V
    .locals 3

    .prologue
    .line 247
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->stationCollectionManager:Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;

    iget v1, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->startResult:I

    iget v2, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->maxResult:I

    invoke-virtual {v0, v1, v2}, Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;->getScrollData(II)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staList:Ljava/util/List;

    .line 248
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staList:Ljava/util/List;

    if-eqz v0, :cond_1

    .line 249
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    .line 250
    new-instance v0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$6;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$6;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 295
    :goto_0
    return-void

    .line 275
    :cond_0
    new-instance v0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$7;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$7;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 285
    :cond_1
    new-instance v0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$8;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$8;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method private initListener()V
    .locals 2

    .prologue
    .line 91
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->addView:Landroid/view/View;

    new-instance v1, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$2;

    invoke-direct {v1, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$2;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 106
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->refreshView:Landroid/view/View;

    new-instance v1, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$3;

    invoke-direct {v1, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$3;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 146
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->clearView:Landroid/view/View;

    new-instance v1, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$4;

    invoke-direct {v1, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$4;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 191
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->moreView:Landroid/view/View;

    new-instance v1, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$5;

    invoke-direct {v1, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$5;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 243
    return-void
.end method


# virtual methods
.method public initialUI()V
    .locals 1

    .prologue
    .line 59
    iput-object p0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->context:Landroid/content/Context;

    .line 60
    const v0, 0x7f0a004f

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->staCollectListView:Landroid/widget/ListView;

    .line 61
    new-instance v0, Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->stationCollectionManager:Lcom/teewoo/app/bus/manager/collection/StationCollectionManager;

    .line 62
    const v0, 0x7f0a002a

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->proBar:Landroid/widget/ProgressBar;

    .line 64
    const v0, 0x7f0a0040

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->addView:Landroid/view/View;

    .line 65
    const v0, 0x7f0a0042

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->refreshView:Landroid/view/View;

    .line 66
    const v0, 0x7f0a0044

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->clearView:Landroid/view/View;

    .line 67
    const v0, 0x7f0a0046

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->moreView:Landroid/view/View;

    .line 69
    const v0, 0x7f0a0041

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->addImageView:Landroid/widget/ImageView;

    .line 70
    const v0, 0x7f0a0043

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->refreshImageView:Landroid/widget/ImageView;

    .line 71
    const v0, 0x7f0a0045

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->clearImageView:Landroid/widget/ImageView;

    .line 72
    const v0, 0x7f0a0047

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->moreImageView:Landroid/widget/ImageView;

    .line 73
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1
    .parameter "savedInstanceState"

    .prologue
    .line 76
    invoke-super {p0, p1}, Lcom/teewoo/app/bus/inface/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 77
    const v0, 0x7f030015

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->setContentView(I)V

    .line 78
    invoke-virtual {p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->initialUI()V

    .line 79
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;->initListener()V

    .line 81
    new-instance v0, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$1;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$1;-><init>(Lcom/teewoo/app/bus/ui/MyStationCollectionActivity;)V

    .line 85
    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/MyStationCollectionActivity$1;->start()V

    .line 87
    return-void
.end method
